kfreebsd-libcxx-threads-detection
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Tue, 24 Sep 2019 19:09:57 +0000 (20:09 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 24 Sep 2019 19:09:57 +0000 (20:09 +0100)
===================================================================

Gbp-Pq: Topic kfreebsd
Gbp-Pq: Name kfreebsd-libcxx-threads-detection.diff

libcxx/include/__config

index 1ecced9f4792d79d5240d6b4afd6559e71c0aeca..f74a4b58b4d9bfd6b356f9b9fe869ac562c5c652 100644 (file)
@@ -1065,6 +1065,7 @@ _LIBCPP_FUNC_VIS extern "C" void __sanitizer_annotate_contiguous_container(
     !defined(_LIBCPP_HAS_THREAD_API_WIN32) && \
     !defined(_LIBCPP_HAS_THREAD_API_EXTERNAL)
 #  if defined(__FreeBSD__) || \
+      defined(__FreeBSD_kernel__) || \
       defined(__Fuchsia__) || \
       defined(__wasi__) || \
       defined(__NetBSD__) || \